Skip to content

refactor(console): enable TypeScript strict mode - #835

Merged
mbaldessari merged 1 commit into
validatedpatterns:mainfrom
rh-gvincent:strict_true
Sep 28, 2026
Merged

mbaldessari merged 1 commit into
validatedpatterns:mainfrom
rh-gvincent:strict_true

Conversation

@rh-gvincent

Copy link
Copy Markdown
Contributor

Set "strict": true in tsconfig.json and fix the resulting type errors: narrow caught errors via err instanceof Error, type the router compat hooks and API response shapes, and add ambient declarations for CSS imports.

@openshift-ci

openshift-ci Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Hi @rh-gvincent. Thanks for your PR.

I'm waiting for a validatedpatterns member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Set "strict": true in tsconfig.json and fix the resulting type errors:
narrow caught errors via `err instanceof Error`, type the router compat
hooks and API response shapes, and add ambient declarations for CSS imports.

Signed-off-by: Guillaume Vincent <gvincent@redhat.com>
@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

@mbaldessari

Copy link
Copy Markdown
Contributor

/lgtm

@mbaldessari

Copy link
Copy Markdown
Contributor

/approve

@red-hat-konflux

Copy link
Copy Markdown
Contributor

All PipelineRuns for this commit have already succeeded. Use /retest <pipeline-name> to re-run a specific pipeline or /test to re-run all pipelines.

@openshift-ci openshift-ci Bot added the lgtm label Sep 28, 2026
@openshift-ci

openshift-ci Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbaldessari, rh-gvincent

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mbaldessari
mbaldessari merged commit f64b082 into validatedpatterns:main Sep 28, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants